package com.wrb.customer.feign;

import com.wrb.customer.response.ServerResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Wrb
 * @date 2019/12/20 16:21
 */
@FeignClient("summary-points")
public interface PointsServiceFeign {

	@RequestMapping(value = "/micro/points/addWallet", method = RequestMethod.POST)
	ServerResponse<Integer> addWallet(
			@RequestParam(required = true) long customerId
	);

}
